package org.linlinjava.litemall.wx.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ：stephen
 * @date ：Created in 2020/5/7 15:02
 * @description：TODO
 */
@Data
@ApiModel(value="购物车下单店铺商品信息类",description="购物车下单店铺商品信息类")
public class CartCheckOutGoodsInfoVo {
	@ApiModelProperty(value = "购物车id")
    private Integer id;
	@ApiModelProperty(value = "用户id")
    private Integer userId;
	@ApiModelProperty(value = "门店id")
    private Integer shopId;
	@ApiModelProperty(value = "门店名称")
    private String shopName;
	@ApiModelProperty(value = "商品id")
    private Integer goodsId;
	@ApiModelProperty(value = "商品编号")
    private String goodsSn;
	@ApiModelProperty(value = "商品名称")
    private String goodsName;
	@ApiModelProperty(value = "商品货品表的货品id")
    private Integer productId;
	@ApiModelProperty(value = "商品售价(包含辅料价格)")
    private BigDecimal price;
	@ApiModelProperty(value = "商品价格")
    private BigDecimal goodsPrice;
	@ApiModelProperty(value = "商品数量")
    private Short number;
	@ApiModelProperty(value = "商品规格id列表")
    private Integer[] specificationIds;
	@ApiModelProperty(value = "商品规格值列表")
    private String[] specifications;
	@ApiModelProperty(value = "是否选择")
    private Boolean checked;
	@ApiModelProperty(value = "商品图片")
    private String picUrl;
	@ApiModelProperty(value = "增加时间")
    private LocalDateTime addTime;
	@ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;
	@ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;

	@ApiModelProperty(value = "规格列表")
    private List<SpecificationVo> specificationList;
	@ApiModelProperty(value = "辅料列表")
    private List<AccessoryVo> accessories;
	@ApiModelProperty(value = "属性列表")
	private List<PropertyVo> propList;
}
